package com.jackson.engineeringtechnologyguide.cycle;

/*
 * Author: JacksonCoder
 * FileName: CycleA
 * Version: 1.0.0
 * Date: 2025/1/11
 */

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CycleA {
    /**
     * <h2>构造方法循环依赖</h2>
     */
    public CycleA(CycleB b) {

    }


    /**
     * field 属性注入循环依赖，   IOC 容器可能会解决掉
     */
//    @Autowired
//    private CycleB cycleB;

}
